package com.tang.sys.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tang.sys.entity.RoleMenu;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminAddRoleVo {
    private Long id;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色权限字符串")
    private String roleKey;

    @ApiModelProperty("显示顺序")
    private Integer roleSort;

    @ApiModelProperty("角色状态（0正常 1停用）")
    private String status;

    @TableField(exist = false)
    private List<RoleMenu> menuId;
    @TableField(exist = false)
    private List<RoleMenu> roleId;


    @ApiModelProperty("备注")
    private String remark;
}
